package 第四天

fun main() {
//    var single = Single()
}

class Single private constructor() {
    //私有构造函数
    companion object {
        val single by lazy { Single() }
    }
}